<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://mamsy.ru/" />
<title>New Test</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">New Test</td></tr>
</thead><tbody>
<!--http://mamsy.ru/landing/land/index/1-->
<tr>
	<td>storeEval</td>
	<td>if (selenium.isElementPresent(&quot;logout&quot;)==true){&quot;exit1&quot;} else {nextMove=&quot;landing&quot;}</td>
	<td>loginPage</td>
</tr>
<tr>
	<td>gotolabel</td>
	<td>${loginPage}</td>
	<td></td>
</tr>
<tr>
	<td>label</td>
	<td>exit1</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=logout</td>
	<td></td>
</tr>
<tr>
	<td>label</td>
	<td>landing</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/index/1</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=facebook</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>id=vk</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=Партнерам</td>
	<td>Партнерам</td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=О Mamsy</td>
	<td>О Mamsy</td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=Блог</td>
	<td>Блог</td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=FAQ</td>
	<td>FAQ</td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=Вакансии</td>
	<td>Вакансии</td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=Условия продажи</td>
	<td>Условия продажи</td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=Отзывы</td>
	<td>Отзывы</td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/index/2</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=facebook</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>id=vk</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Товары для беременных</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/index/3</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=facebook</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>id=vk</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Детская обувь</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/index/4</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=facebook</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>id=vk</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/index/5</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Отзывы</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=reviewsText</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/index/1</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=input-register_name</td>
	<td>1</td>
</tr>
<tr>
	<td>click</td>
	<td>css=input.button__button</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>id=registerMessages</td>
	<td>- Введите email<br />- Введите пароль</td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=input.button__button</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=input-register_email</td>
	<td>2</td>
</tr>
<tr>
	<td>click</td>
	<td>css=input.button__button</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>id=registerMessages</td>
	<td>- Введите пароль</td>
</tr>
<tr>
	<td>type</td>
	<td>id=input-register_pass</td>
	<td>1</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=input.button__button</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=input.button__button</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>id=registerMessages</td>
	<td>- Пароль должен содержать минимум 6 символов</td>
</tr>
<!--Рандомная регистрация-->
<tr>
	<td>storeEval</td>
	<td>Math.floor(Math.random()*10000000)</td>
	<td>array_random_index</td>
</tr>
<tr>
	<td>echo</td>
	<td>${array_random_index}</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>${array_random_index}+'@mailforspam.com'</td>
	<td>random_login</td>
</tr>
<tr>
	<td>echo</td>
	<td>${random_login}</td>
	<td></td>
</tr>
<!--Лоигн-->
<tr>
	<td>storeEval</td>
	<td>if (selenium.isElementPresent(&quot;id=input-login_mail&quot;)==true){nextMove=&quot;login&quot;} else {nextMove=&quot;exit&quot;}</td>
	<td>loginPage</td>
</tr>
<tr>
	<td>gotolabel</td>
	<td>${loginPage}</td>
	<td></td>
</tr>
<tr>
	<td>label</td>
	<td>exit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=logout</td>
	<td></td>
</tr>
<tr>
	<td>label</td>
	<td>login</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>input-register_name</td>
	<td>${random_login}</td>
</tr>
<tr>
	<td>type</td>
	<td>input-register_email</td>
	<td>${random_login}</td>
</tr>
<tr>
	<td>type</td>
	<td>input-register_pass_</td>
	<td>111111</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=input-register_pass</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=input-register_pass</td>
	<td>111111</td>
</tr>
<tr>
	<td>click</td>
	<td>css=input.button__button</td>
	<td></td>
</tr>
<tr>
	<td>waitForPageToLoad</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=span.logo</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>css=strong</td>
	<td>Для завершения регистрации пройдите по ссылке из письма.</td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/index/1</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=flink</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=input-login_mail</td>
	<td>1</td>
</tr>
<tr>
	<td>click</td>
	<td>css=span.button.button_enter &gt; input.button__button</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>id=loginMessages</td>
	<td>- Введите пароль</td>
</tr>
<tr>
	<td>type</td>
	<td>id=input-login_pass</td>
	<td>1</td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=span.button.button_enter &gt; input.button__button</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=input-login_mail</td>
	<td>schoolout2@inbox.ru</td>
</tr>
<tr>
	<td>type</td>
	<td>id=input-login_pass</td>
	<td>1q2w3e4r5t</td>
</tr>
<tr>
	<td>click</td>
	<td>css=span.button.button_enter &gt; input.button__button</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=logout</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=logout</td>
	<td></td>
</tr>
<!--http://mamsy.ru/landing/land/facebook/1-->
<tr>
	<td>open</td>
	<td>/landing/land/facebook/1</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Быстрая регистрация</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/facebook/2</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Быстрая регистрация</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/facebook/3</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Быстрая регистрация</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/facebook/4</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Быстрая регистрация</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/facebook/5</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Быстрая регистрация</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Вход для членов клуба</td>
	<td></td>
</tr>
<!--http://mamsy.ru/landing/land/mail/1-->
<tr>
	<td>open</td>
	<td>http://mamsy.ru/landing/land/mail/1</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=name</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=name</td>
	<td>sdfsdf2</td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=input[type=&quot;image&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>name=Password</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>http://mamsy.ru/landing/land/mail/1</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Вход для членов клуба</td>
	<td></td>
</tr>
<tr>
	<td>waitForText</td>
	<td>css=img.content__logo</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>http://mamsy.ru/landing/land/mail/2</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>http://mamsy.ru/landing/land/mail/3</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>http://mamsy.ru/landing/land/mail/4</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>http://mamsy.ru/landing/land/mail/5</td>
	<td></td>
</tr>
<!--http://mamsy.ru/landing/land/vk/1-->
<tr>
	<td>open</td>
	<td>/landing/land/vk/1</td>
	<td></td>
</tr>
<tr>
	<td>waitForText</td>
	<td>css=span.button_vk</td>
	<td>Быстрая регистрация</td>
</tr>
<tr>
	<td>waitForText</td>
	<td>link=Вход для членов клуба</td>
	<td>Вход для членов клуба</td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/vk/2</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/vk/3</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/landing/land/vk/4</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
